package com.ambitor.ipro.entities;

import java.io.Serializable;

public class Result implements Serializable{

	private static final long serialVersionUID = 1334606756742505161L;

	private Integer	code	= 0;

	private String	msg		= "";

	private Object	result;

	public Result() {
		super();
	}

	public Result(Integer code, String msg) {
		super();
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}

	public String toString() {
		return "{CODE:" + this.getCode() + ",MSG:" + this.getMsg() + "}";
	}
}
